package com.zjf.carpark.vo;

/**
 * @description:
 * @author: 张建飞
 * @createDate: 2019/12/9
 * @version: 1.0
 */
public class UserPageVO {
    private Integer userId;
    private String userName;
    private String userTel;
    private int limit;//每页的记录数
    private int page;//当前页码
    private int pageIndex;//起始页数
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageIndex() {
        return (page - 1) * limit;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }
}
